import ajax from '../utils/request'
import '../mock/messageMock.js'

// 聊天列表
export function getMesListFn() {
    return ajax({
        url: '/message/list',
        method: 'post'
    })
}
// 聊天记录
export function getChatFn() {
    return ajax({
        url: '/message/chat',
        method: 'post'
    })
}